↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
TRANSPOSE_IN_GA(A, B) → U1_GA(A, B, transpose_aux_in_gga(A, [], B))
TRANSPOSE_IN_GA(A, B) → TRANSPOSE_AUX_IN_GGA(A, [], B)
TRANSPOSE_AUX_IN_GGA(.(R, Rs), X, .(C, Cs)) → U2_GGA(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
TRANSPOSE_AUX_IN_GGA(.(R, Rs), X, .(C, Cs)) → ROW2COL_IN_AGAGA(R, .(C, Cs), Cols1, [], Accm)
ROW2COL_IN_AGAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_AGAGA(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
ROW2COL_IN_AGAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_AAAGA(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
U2_GGA(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_GGA(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
U2_GGA(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → U2_AGG(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → ROW2COL_IN_AGAGA(R, .(C, Cs), Cols1, [], Accm)
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_AGG(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
TRANSPOSE_IN_GA(A, B) → U1_GA(A, B, transpose_aux_in_gga(A, [], B))
TRANSPOSE_IN_GA(A, B) → TRANSPOSE_AUX_IN_GGA(A, [], B)
TRANSPOSE_AUX_IN_GGA(.(R, Rs), X, .(C, Cs)) → U2_GGA(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
TRANSPOSE_AUX_IN_GGA(.(R, Rs), X, .(C, Cs)) → ROW2COL_IN_AGAGA(R, .(C, Cs), Cols1, [], Accm)
ROW2COL_IN_AGAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_AGAGA(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
ROW2COL_IN_AGAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_AAAGA(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
U2_GGA(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_GGA(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
U2_GGA(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → U2_AGG(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → ROW2COL_IN_AGAGA(R, .(C, Cs), Cols1, [], Accm)
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_AGG(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Instantiation
↳ PiDP
↳ PrologToPiTRSProof
ROW2COL_IN_AAAGA(A) → ROW2COL_IN_AAAGA(.)
ROW2COL_IN_AAAGA(.) → ROW2COL_IN_AAAGA(.)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ PiDP
↳ PrologToPiTRSProof
ROW2COL_IN_AAAGA(.) → ROW2COL_IN_AAAGA(.)
ROW2COL_IN_AAAGA(.) → ROW2COL_IN_AAAGA(.)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → U2_AGG(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → U2_AGG(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ PrologToPiTRSProof
TRANSPOSE_AUX_IN_AGG(X, .) → U2_AGG(row2col_in_agaga(., []))
U2_AGG(row2col_out_agaga(R, Cols1, Accm)) → TRANSPOSE_AUX_IN_AGG(Accm, Cols1)
row2col_in_agaga(., A) → U4_agaga(row2col_in_aaaga(.))
U4_agaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_agaga(., ., B)
row2col_in_aaaga(A) → U4_aaaga(row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A)
U4_aaaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_aaaga(., ., ., B)
row2col_in_agaga(x0, x1)
U4_agaga(x0)
row2col_in_aaaga(x0)
U4_aaaga(x0)
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(U4_agaga(row2col_in_aaaga(.)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(U4_agaga(row2col_in_aaaga(.)))
U2_AGG(row2col_out_agaga(R, Cols1, Accm)) → TRANSPOSE_AUX_IN_AGG(Accm, Cols1)
row2col_in_agaga(., A) → U4_agaga(row2col_in_aaaga(.))
U4_agaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_agaga(., ., B)
row2col_in_aaaga(A) → U4_aaaga(row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A)
U4_aaaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_aaaga(., ., ., B)
row2col_in_agaga(x0, x1)
U4_agaga(x0)
row2col_in_aaaga(x0)
U4_aaaga(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ PrologToPiTRSProof
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(U4_agaga(row2col_in_aaaga(.)))
U2_AGG(row2col_out_agaga(R, Cols1, Accm)) → TRANSPOSE_AUX_IN_AGG(Accm, Cols1)
row2col_in_aaaga(A) → U4_aaaga(row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A)
U4_agaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_agaga(., ., B)
U4_aaaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_aaaga(., ., ., B)
row2col_in_agaga(x0, x1)
U4_agaga(x0)
row2col_in_aaaga(x0)
U4_aaaga(x0)
row2col_in_agaga(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ ForwardInstantiation
↳ PrologToPiTRSProof
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(U4_agaga(row2col_in_aaaga(.)))
U2_AGG(row2col_out_agaga(R, Cols1, Accm)) → TRANSPOSE_AUX_IN_AGG(Accm, Cols1)
row2col_in_aaaga(A) → U4_aaaga(row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A)
U4_agaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_agaga(., ., B)
U4_aaaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_aaaga(., ., ., B)
U4_agaga(x0)
row2col_in_aaaga(x0)
U4_aaaga(x0)
U2_AGG(row2col_out_agaga(x0, ., x2)) → TRANSPOSE_AUX_IN_AGG(x2, .)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ NonTerminationProof
↳ PrologToPiTRSProof
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(U4_agaga(row2col_in_aaaga(.)))
U2_AGG(row2col_out_agaga(x0, ., x2)) → TRANSPOSE_AUX_IN_AGG(x2, .)
row2col_in_aaaga(A) → U4_aaaga(row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A)
U4_agaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_agaga(., ., B)
U4_aaaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_aaaga(., ., ., B)
U4_agaga(x0)
row2col_in_aaaga(x0)
U4_aaaga(x0)
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(U4_agaga(row2col_in_aaaga(.)))
U2_AGG(row2col_out_agaga(x0, ., x2)) → TRANSPOSE_AUX_IN_AGG(x2, .)
row2col_in_aaaga(A) → U4_aaaga(row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A)
U4_agaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_agaga(., ., B)
U4_aaaga(row2col_out_aaaga(Xs, Cols, Cols1, B)) → row2col_out_aaaga(., ., ., B)
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
TRANSPOSE_IN_GA(A, B) → U1_GA(A, B, transpose_aux_in_gga(A, [], B))
TRANSPOSE_IN_GA(A, B) → TRANSPOSE_AUX_IN_GGA(A, [], B)
TRANSPOSE_AUX_IN_GGA(.(R, Rs), X, .(C, Cs)) → U2_GGA(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
TRANSPOSE_AUX_IN_GGA(.(R, Rs), X, .(C, Cs)) → ROW2COL_IN_AGAGA(R, .(C, Cs), Cols1, [], Accm)
ROW2COL_IN_AGAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_AGAGA(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
ROW2COL_IN_AGAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_AAAGA(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
U2_GGA(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_GGA(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
U2_GGA(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → U2_AGG(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → ROW2COL_IN_AGAGA(R, .(C, Cs), Cols1, [], Accm)
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_AGG(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
TRANSPOSE_IN_GA(A, B) → U1_GA(A, B, transpose_aux_in_gga(A, [], B))
TRANSPOSE_IN_GA(A, B) → TRANSPOSE_AUX_IN_GGA(A, [], B)
TRANSPOSE_AUX_IN_GGA(.(R, Rs), X, .(C, Cs)) → U2_GGA(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
TRANSPOSE_AUX_IN_GGA(.(R, Rs), X, .(C, Cs)) → ROW2COL_IN_AGAGA(R, .(C, Cs), Cols1, [], Accm)
ROW2COL_IN_AGAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_AGAGA(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
ROW2COL_IN_AGAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_AAAGA(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
U2_GGA(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_GGA(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
U2_GGA(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → U2_AGG(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → ROW2COL_IN_AGAGA(R, .(C, Cs), Cols1, [], Accm)
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_AGG(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
ROW2COL_IN_AAAGA(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → ROW2COL_IN_AAAGA(Xs, Cols, Cols1, .([], A), B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Instantiation
↳ PiDP
ROW2COL_IN_AAAGA(A) → ROW2COL_IN_AAAGA(.)
ROW2COL_IN_AAAGA(.) → ROW2COL_IN_AAAGA(.)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ PiDP
ROW2COL_IN_AAAGA(.) → ROW2COL_IN_AAAGA(.)
ROW2COL_IN_AAAGA(.) → ROW2COL_IN_AAAGA(.)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → U2_AGG(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
transpose_in_ga(A, B) → U1_ga(A, B, transpose_aux_in_gga(A, [], B))
transpose_aux_in_gga(.(R, Rs), X, .(C, Cs)) → U2_gga(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_agaga([], [], [], A, A) → row2col_out_agaga([], [], [], A, A)
U2_gga(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_gga(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg(.(R, Rs), X, .(C, Cs)) → U2_agg(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
U2_agg(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → U3_agg(R, Rs, X, C, Cs, transpose_aux_in_agg(Rs, Accm, Cols1))
transpose_aux_in_agg([], X, X) → transpose_aux_out_agg([], X, X)
U3_agg(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_agg(.(R, Rs), X, .(C, Cs))
U3_gga(R, Rs, X, C, Cs, transpose_aux_out_agg(Rs, Accm, Cols1)) → transpose_aux_out_gga(.(R, Rs), X, .(C, Cs))
transpose_aux_in_gga([], X, X) → transpose_aux_out_gga([], X, X)
U1_ga(A, B, transpose_aux_out_gga(A, [], B)) → transpose_out_ga(A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
U2_AGG(R, Rs, X, C, Cs, row2col_out_agaga(R, .(C, Cs), Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Rs, Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(.(R, Rs), X, .(C, Cs)) → U2_AGG(R, Rs, X, C, Cs, row2col_in_agaga(R, .(C, Cs), Cols1, [], Accm))
row2col_in_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
U4_agaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_agaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
row2col_in_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B) → U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_in_aaaga(Xs, Cols, Cols1, .([], A), B))
row2col_in_aaaga([], [], [], A, A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(X, Xs, Ys, Cols, Cols1, A, B, row2col_out_aaaga(Xs, Cols, Cols1, .([], A), B)) → row2col_out_aaaga(.(X, Xs), .(.(X, Ys), Cols), .(Ys, Cols1), A, B)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
TRANSPOSE_AUX_IN_AGG(X, .) → U2_AGG(X, row2col_in_agaga(., []))
U2_AGG(X, row2col_out_agaga(R, ., Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Accm, Cols1)
row2col_in_agaga(., A) → U4_agaga(A, row2col_in_aaaga(.))
U4_agaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_agaga(., ., ., A, B)
row2col_in_aaaga(A) → U4_aaaga(A, row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_aaaga(., ., ., A, B)
row2col_in_agaga(x0, x1)
U4_agaga(x0, x1)
row2col_in_aaaga(x0)
U4_aaaga(x0, x1)
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(y0, U4_agaga([], row2col_in_aaaga(.)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
U2_AGG(X, row2col_out_agaga(R, ., Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(y0, U4_agaga([], row2col_in_aaaga(.)))
row2col_in_agaga(., A) → U4_agaga(A, row2col_in_aaaga(.))
U4_agaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_agaga(., ., ., A, B)
row2col_in_aaaga(A) → U4_aaaga(A, row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A, A)
U4_aaaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_aaaga(., ., ., A, B)
row2col_in_agaga(x0, x1)
U4_agaga(x0, x1)
row2col_in_aaaga(x0)
U4_aaaga(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
U2_AGG(X, row2col_out_agaga(R, ., Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(y0, U4_agaga([], row2col_in_aaaga(.)))
row2col_in_aaaga(A) → U4_aaaga(A, row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A, A)
U4_agaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_agaga(., ., ., A, B)
U4_aaaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_aaaga(., ., ., A, B)
row2col_in_agaga(x0, x1)
U4_agaga(x0, x1)
row2col_in_aaaga(x0)
U4_aaaga(x0, x1)
row2col_in_agaga(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ ForwardInstantiation
U2_AGG(X, row2col_out_agaga(R, ., Cols1, [], Accm)) → TRANSPOSE_AUX_IN_AGG(Accm, Cols1)
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(y0, U4_agaga([], row2col_in_aaaga(.)))
row2col_in_aaaga(A) → U4_aaaga(A, row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A, A)
U4_agaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_agaga(., ., ., A, B)
U4_aaaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_aaaga(., ., ., A, B)
U4_agaga(x0, x1)
row2col_in_aaaga(x0)
U4_aaaga(x0, x1)
U2_AGG(x0, row2col_out_agaga(x1, ., ., [], x3)) → TRANSPOSE_AUX_IN_AGG(x3, .)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ NonTerminationProof
U2_AGG(x0, row2col_out_agaga(x1, ., ., [], x3)) → TRANSPOSE_AUX_IN_AGG(x3, .)
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(y0, U4_agaga([], row2col_in_aaaga(.)))
row2col_in_aaaga(A) → U4_aaaga(A, row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A, A)
U4_agaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_agaga(., ., ., A, B)
U4_aaaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_aaaga(., ., ., A, B)
U4_agaga(x0, x1)
row2col_in_aaaga(x0)
U4_aaaga(x0, x1)
U2_AGG(x0, row2col_out_agaga(x1, ., ., [], x3)) → TRANSPOSE_AUX_IN_AGG(x3, .)
TRANSPOSE_AUX_IN_AGG(y0, .) → U2_AGG(y0, U4_agaga([], row2col_in_aaaga(.)))
row2col_in_aaaga(A) → U4_aaaga(A, row2col_in_aaaga(.))
row2col_in_aaaga(A) → row2col_out_aaaga([], [], [], A, A)
U4_agaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_agaga(., ., ., A, B)
U4_aaaga(A, row2col_out_aaaga(Xs, Cols, Cols1, ., B)) → row2col_out_aaaga(., ., ., A, B)